package com.zndroid.timePicker.impl;


import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import static com.zndroid.timePicker.impl.DateType.DAY;
import static com.zndroid.timePicker.impl.DateType.MONTH;
import static com.zndroid.timePicker.impl.DateType.YEAR;
import static com.zndroid.timePicker.impl.DateType.HOUR_12;
import static com.zndroid.timePicker.impl.DateType.HOUR_24;
import static com.zndroid.timePicker.impl.DateType.MINUTE;
import static com.zndroid.timePicker.impl.DateType.SECOND;

@StringDef({YEAR, MONTH, DAY, HOUR_12, HOUR_24, MINUTE, SECOND})
@Retention(RetentionPolicy.SOURCE)
public @interface DateType {
    String YEAR = "year";
    String MONTH = "month";
    String DAY = "day";
    String HOUR_12 = "hour_12";
    String HOUR_24 = "hour_24";
    String MINUTE = "minute";
    String SECOND = "second";
}
